#ifndef  __M24C02_H__
#define  __M24C02_H__

#include "Dri_IIC.h"

#define DEV_WADDR 0xA0
#define DEV_RADDR 0xA1
#define PAGE_SIZE   8

void Int_M24C02_Init(void);

void Int_M24C02_WriteByte(u8 innerAddr,u8 byte);
u8   Int_M24C02_ReadByte(u8 innerAddr);

void Int_M24C02_WriteBytes(u8 innerAddr,u8* bytes,u8 size);
void Int_M24C02_ReadBytes(u8 innerAddr,u8* buffer,u8 size);
#endif /* __M24C02_H__ */
